#include <stdio.h>
#include "../../liboctopus/src/octopus.h"

int
main ()
{

  struct octopus_context octopus;

  octopus_init (&octopus);
  octopus_open (&octopus);
  octopus_io_init (&octopus, 3);
  octopus_io_init (&octopus, 4);
  octopus_io_set_pin_direction_out (&octopus, 3);
  octopus_io_set_pin_direction_in (&octopus, 4);

  while (1)
	 {
		octopus_io_set_pin (&octopus, 3, 0);
		octopus_io_set_pin (&octopus, 3, 1);
		//octopus_io_get_pin (&octopus, 4);
	 }

  return 0;


}
